<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>管理员登陆</title>
  <!--    <link rel="stylesheet" href="css/base.css">-->
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui-v2.6.8/layui/css/layui.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/adlogin.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/common.css">
</head>
<body>

<!-- 你的 HTML 代码 -->
<!--<div class="nav" ></div>-->
<!-- 顶部导航 -->
<div class="header">
  <div class="w">
    <div class="logo fl"><a href="${pageContext.request.contextPath}/login">LOGO</a></div>
    <div class="search">
      <!--            <input type="text" name="" class="text" placeholder="请输入">-->
      <!--            <button class="btn"><i class="layui-icon layui-icon-search"></i></button>-->
    </div>
    <div class="r_box fr">
      <a href="${pageContext.request.contextPath}/lookCart"><i class="layui-icon layui-icon-cart-simple"></i></a>
      <span class="r_box_login">没有账号？请 <a href="${pageContext.request.contextPath}/toregister">注册</a></span>
    </div>
  </div>
</div>

<div class="login_1" >
  <div class="title" align="center">
    <b>管理员登录</b>
  </div>


  <div class="login_2" align="left">
    <form action="${pageContext.request.contextPath}/toadminlogin" method="post">
      <ul>
        <li class="li">
          <label for="tel">用户名</label>
          <input type="text" name="adminname" class="inp" />
          <span>${adminname}</span>
        </li>
        <br/>
        <br/>
        <li class="li">
          <label for="">密&nbsp;&nbsp;&nbsp;码</label>
          <input type="password" name="password" class="inp">
          <span>${password}</span>
        </li>
      </ul>
      <br/>
      <div class="login_3">
        <p><a href="${pageContext.request.contextPath}/tologin">用户请点击这里登录</a></p>
      </div>
      <br/>
      <br/>
      <button class="but" > 登&nbsp;录 </button>
    </form>
  </div>
</div>
</body>
</html>